const getters = {
  watermark: state => {
    const secrecyNumber = state.phoneNumber
      ? `****${state.phoneNumber.slice(-4)}`
      : ``;
    return `${state.username}  ${secrecyNumber}`;
  }
};

export default getters;
